/*
 * Avatar.h
 *
 *  Created on: 15 févr. 2009
 *      Author: boboss
 */

#ifndef AVATAR_H_
#define AVATAR_H_

#include <iostream>

using namespace std;


class Avatar {

private:

//physical caracteristic
String _name;
unsigned char _sexe;
unsigned int _size;
unsigned int _weight;

//specific caracteristic
unsigned int _vitality;
unsigned int _spinergy;
float _vreg;
float _spireg;
float _ereg;
unsigned short int _vulnerability;
unsigned short int _vulnerabilityParalisy;
unsigned short int _resistance;
unsigned short int _ability;
unsigned int _movement;

//We have to add other object like skils tree and inventory


public:
	// first constructor
	Avatar();
	//Overloaded constructor used for create an Avatar
	Avatar(String name, unsigned char _sexe, unsigned int _size, unsigned int weight, unsigned int _vitality, unsigned int _spinergy, float _vreg, float _spireg, float _ereg, unsigned short int _vulnerability, unsigned short int _vulnerabilityParalisy, unsigned short int _resistance, unsigned short int _ability, unsigned int movement);

	//Getters and setters
	String getName() const;
	unsigned char getSexe() const;
	unsigned int getSize() const;
	unsigned int getWeight() const;
	void setWeight(unsigned int _weight);
	unsigned int getVitality() const;
	void setVitality(unsigned int _vitality);
	unsigned int getSpinergy() const;
	void setSpinergy(unsigned int _spinergy);
	float getVreg() const;
	void setVreg(float _vreg);
	float getSpireg() const;
	void setSpireg(float _spireg);
	float getEreg() const;
	void setEreg(float _ereg);
	unsigned short int getVulnerability() const;
	void setVulnerability(unsigned short int _vulnerability);
	unsigned short int getVulnerabilityParalisy() const;
	void setVulnerabilityParalisy(unsigned short int _vulnerabilityParalisy);
	unsigned short int getResistance() const;
	void setResistance(unsigned short int _resistance);
	unsigned short int getAbility() const;
	void setAbility(unsigned short int _ability);
	unsigned int getMovement() const;
	void setMovement(unsigned int _movement);

	//Destructor
	virtual ~Avatar();



};

#endif /* AVATAR_H_ */

